package com.briup.day38;

import java.io.BufferedInputStream;
import java.io.FileInputStream;

import java.io.InputStream;

public class IODemo4 {

	public static void main(String[] args) throws Exception {
		String path = "src/com/briup/day38/demo4.txt";
		InputStream is = new FileInputStream(path);
		
		BufferedInputStream bis = new BufferedInputStream(is);
		
		int len = -1;
		while ((len = bis.read()) != -1) {
				System.out.print((char)len);
			
		}
	}

}
